package com.okq.service;

import com.okq.entity.LogisticsSheet;
import com.okq.util.page.Page;

import java.util.List;

/**
 * 描述 : 物流单接口
 * 作者 : zdl
 * 日期 : 2017/6/29 15:19
 */
public interface ILogisticsSheetService {
    void saveLogisticsSheet(LogisticsSheet logisticsSheet);

    void deleteLogisticsSheet(LogisticsSheet logisticsSheet);

    void updateLogisticsSheet(LogisticsSheet logisticsSheet);

    void saveOrUpdateLogisticsSheet(LogisticsSheet logisticsSheet);

    LogisticsSheet getLogisticsSheetById(String id);

    List<LogisticsSheet> listAllLogisticsSheet();

    Page<LogisticsSheet> pageByLogisticsSheet(Page<LogisticsSheet> page, LogisticsSheet logisticsSheet);

    LogisticsSheet getLogisticsSheetByCode(String productCode);
}
